﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataCollectService
{
    /// <summary>
    /// 采集配置
    /// </summary>
    public class DeviceConfig
    {
        public string DeviceNo { get; set; }
        public string ProtocalConfig { get; set; }
        public string DataBaseConfig { get; set; }
        public string SaveDataTime { get; set; }
        public List<DeviceVarConfig> VarList { get; set; }
        public List<DeviceJSONConfig> VarJSONList { get; set; }
        public bool IsRunning { get; set; }

    }

    public class DeviceVarConfig
    {
        public string VarName { get; set; }
        public string VarPath { get; set; }
        public string VarType { get; set; }
        public int VarRequency { get; set; }
    }

    public class DeviceJSONConfig
    {
        public string EquipJSONConfigID { get; set; }
        public string ParentID { get; set; }
        public string NodeName { get; set; }
        public string NodeType { get; set; }
    }
}
